<header class="main-header">
  <!-- Logo -->
  <a href="javascript:;" class="logo">
    派毅网站后台
  </a>
  <!-- Header Navbar: style can be found in header.less -->
  <nav class="navbar navbar-static-top">
    <!-- Sidebar toggle button-->
    <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
      <span class="sr-only">Toggle navigation</span>
    </a>
    <div class="navbar-custom-menu">
      <ul class="nav navbar-nav">
        <li class="dropdown user user-menu">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <span class="user-menuIcon"><i class="glyphicon glyphicon-user"></i></span>
            <span class="hidden-xs">{{account}}</span>
          </a>
          <ul class="dropdown-menu r_userTool">
            <li><a href="javascript:;" (click)="logOut()">退出登录</a></li>
          </ul>
        </li>

      </ul>
    </div>
  </nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
  <!-- sidebar: style can be found in sidebar.less -->
  <section class="sidebar">
    <!-- sidebar menu: : style can be found in sidebar.less -->
    <ul class="sidebar-menu">
      <li class="treeview" *ngFor="let group of authority">
        <a href="#">
          <i class="{{group?.ico}}"></i><span>{{group?.name}}</span>
          <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
          </span>
        </a>
        <ul class="treeview-menu">
          <li class="" *ngFor="let router of group?.childUserTreeTo">
            <a routerLink="{{router.url}}">{{router?.name}}</a>
          </li>
        </ul>
      </li>
    </ul>
  </section>
  <!-- /.sidebar -->
</aside>
